#-------------------------------------------------
#
# Project created for FTP Client UI
#
#-------------------------------------------------

QT       += core gui widgets svg

TARGET = FtpClientUI
TEMPLATE = lib
CONFIG += dll
PROJECT_DESTDIR=$$(PROJECT_DESTDIR)
DEFINES += FTP_CLIENT_UI_LIBRARY

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated
DEFINES += QT_DEPRECATED_WARNINGS
# MSVC compiler UTF-8 support
msvc: {
    QMAKE_CXXFLAGS += /utf-8
    QMAKE_CFLAGS += /utf-8
}
SOURCES += \
    src/ftpclientmainwindow.cpp \
    src/localfilemanager.cpp

HEADERS += \
    include/ftpclientui_global.h \
    include/ftpclientmainwindow.h \
    include/localfilemanager.h

FORMS += \
    src/ftpclientmainwindow.ui

RESOURCES += \
    ../resources.qrc

INCLUDEPATH += $$PWD/include

# 引入FtpClientCore库
INCLUDEPATH += $$PWD/../FtpClientCore/include
LIBS += -L$$PWD/../bin -lFtpClientCore

# 输出目录设置
isEmpty(PROJECT_DESTDIR) : PROJECT_DESTDIR=$$PWD/../bin
DESTDIR = $$PROJECT_DESTDIR
message("project DESTDIR" $$DESTDIR)